using System.Collections.Generic;
using System.Threading.Tasks;
using VOL.Entity.DomainModels;

namespace VOL.demo.IServices
{
    public partial interface IproducttypemodelService
    {
        /// <summary>
        /// 获取所有货品类型（级联结构）
        /// </summary>
        /// <returns></returns>
        Task<List<producttypemodel>> GetCascadeListAsync();

        /// <summary>
        /// 根据条件查询货品类型
        /// </summary>
        /// <param name="predicate">查询条件</param>
        /// <returns></returns>
        List<producttypemodel> Find(System.Linq.Expressions.Expression<System.Func<producttypemodel, bool>> predicate);
    }
}
